package controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HomeController{
    
    @RequestMapping(value = "/sistemaWeb")
    public ModelAndView SistemaWeb(){
        return new ModelAndView("home");
    }    
    @RequestMapping(value = "/404error")
    public ModelAndView Error404(){
        return new ModelAndView("404error");
    } 
}